package org.csu.mypetstore.persistence;

import org.csu.mypetstore.domain.Service;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ServiceMapper {
    List<Service> getServiceList();
    Service getServiceById (String id);
    Service getServiceByIdAndPsw(String id, String password);
    void newService(Service service);
    void deleteService(String serviceId);
    void updateService(Service service);
    void updateServiceNoPassword(Service service);

}
